<?php
$sql_default = array();
$sql_default = array(
	'default_index' => 'select * from `{@tabpre}admins_shop`',
	//admins
	'getCheckCode' => 'select `checkcode`,`password` from `{@tabpre}admin_center` where `username` = \'{@sky}\'',
	'getStyle'=>'select `style_id`,`style_name` from `{@tabpre}style` order by `style_orderid` asc',
	'save_news'=>"insert into `{@tabpre}new` (`new_title`,`new_style`,`new_addtime`,`new_endtime`,`new_publice`,`new_content`,`admins`) values ('{@title}',{@style},'{@current_date}','{@endtime}',{@publices},'{@content}','{@admins}')",
	'sty_counts'=>"select count(*) as counts from `{@tabpre}style`",
	'select_sty'=>"select `style_name` from `{@tabpre}style` where `style_id`={@sky}",
	'update_sty'=>"update `{@tabpre}style` set `style_name`='{@style_name}' where `style_id`={@style_id}",
	//admins
);
?>
